<template>
	<view class="content">
		<view class="topp"></view>
		<view class="dingdan"
		v-for="(itme, index) in 5"
		:key="index"
		@click="xiangqing"
		>
			<view class="top_a">
				<view class="top_aa">
					成都八九传媒有限公司
				</view>
				<view class="top_ab">
					2020-11-18
				</view>
			</view>
			<view class="center_a">
				<!-- <image src="../../../static/shanjia.png" mode=""></image> -->
				<view class="xianqing">
					<view class="xianqing_a">专业音响</view>
					<view class="xianqing_b">双15音响一套，无线话筒2只，出租。</view>
					<view class="xianqing_b">*1</view>
					<view class="xianqing_c">
						<view class="xianqing_ca">
							<p class="shiji">￥250/天</p>
							<p class="xuli">￥2500/天</p>
						</view>
						<view class="xianqing_cb">
							待付款
						</view>
					</view>
				</view>
			</view>
			<view class="bottm">
				<view class="bottm_a">订单编号：12345678945</view>
				<view class="bottm_b">
					<view class="bottm_ba">取消</view>
					<view class="bottm_bb">去支付</view>
				</view>
			</view>
		</view>
		
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		onLoad() {
			uni.setNavigationBarColor({
				frontColor: '#ffffff',
				backgroundColor: '#ff0000',
				animation: {
					duration: 400,
					timingFunc: 'easeIn'
				}
			});
			
		},
		methods: {
			xiangqing() {
				uni.navigateTo({
				    url: './dingdan_xq_a'
				});
			}
		}
	}
</script>

<style lang="scss" scoped>
.content {
	width: 100%;
	height: 100%;
	background-color: #F5F8FD;
}
.topp {
	width: 100px;
	height: 10rpx;
}
.dingdan {
	width: 690rpx;
	margin: auto;
	height: 407rpx;
	background-color: #FFFFFF;
	margin-top: 10rpx;
	margin-bottom: 10rpx;
	border-radius: 10rpx 10rpx 10rpx 10rpx;
	.top_a {
		width: 100%;
		height: 66rpx;
		border-bottom: 1rpx solid #F5F8FD;
		display: flex;
		justify-content: space-between;
		.top_aa {
			height: 66rpx;
			font-size: 28rpx;
			line-height: 66rpx;
			margin-right: 10rpx;
		}
		.top_ab {
			height: 66rpx;
			font-size: 28rpx;
			line-height: 66rpx;
			margin-right: 10rpx;
		}
	}
	.center_a {
		width: 100%;
		height: 240rpx;
		border-bottom: 1rpx solid #F5F8FD;
		display: flex;
		justify-content: space-around;
		align-items: center;
		image {
			width: 200rpx;
			height: 200rpx;
		}
		.xianqing {
			width: 400rpx;
			height: 200rpx;
			margin-top: 20rpx;
			.xianqing_a {
				width: 400rpx;
				height: 50rpx;
				line-height: 50rpx;
				color: #333333;
				font-size: 30rpx;
				overflow: hidden;
				text-overflow: ellipsis;
				white-space: nowrap;
			}
			.xianqing_b {
				width: 400rpx;
				height: 50rpx;
				line-height: 50rpx;
				color: #999999;
				font-size: 24rpx;
				overflow: hidden;
				text-overflow: ellipsis;
				white-space: nowrap;
			}
			.xianqing_c {
				width: 100%;
				height: 30rpx;
				display: flex;
				justify-content: space-around;
				.xianqing_ca {
					width: 300rpx;
					display: flex;
					.shiji {
						color: #FF0000;
						font-size: 30rpx;
						height: 30rpx;
						line-height: 30rpx;
					}
					.xuli {
						color: #999999;
						font-size: 24rpx;
						margin-left: 10rpx;
						height: 30rpx;
						line-height: 30rpx;
						text-decoration:underline;
						text-decoration:line-through;
					}
				}
				.xianqing_cb {
					width: 100rpx;
					color: #FF0000;
					font-size: 30rpx;
				}
			}
		}
	}
	.bottm {
		width: 100%;
		height: 96rpx;
		display: flex;
		justify-content: space-around;
		.bottm_a {
			width: 250px;
			height: 96rpx;
			line-height: 96rpx;
			font-size: 24rpx;
			color: #999999;
		}
		.bottm_b {
			width: 250px;
			height: 96rpx;
			display: flex;
			justify-content: space-around;
			margin-top: 20rpx;
			.bottm_ba {
				width: 120rpx;
				height: 50rpx;
				line-height: 50rpx;
				text-align: center;
				border: 1px solid #999999;
				color: #999999;
				border-radius: 10rpx;
				font-size: 24rpx;
			}
			.bottm_bb {
				width: 120rpx;
				height: 50rpx;
				text-align: center;
				background-color: #FF1A14;
				color: #FFFFFF;
				border-radius: 10rpx;
				font-size: 24rpx;
				line-height: 50rpx;
			}
		}
	}
	
}

</style>
